import request from '@/utils/request'

// 获取 企业类型 列表
export function getComType () {
  return request({
    url: '/visitor/declareWebsite/getEnterServiceNumberData',
    method: 'get'
  })
}

export function getInfo (params) {
  return request({
    url: '/visitor/declareWebsite/getEnterServiceByData',
    method: 'get',
    params
  })
}

export function getComForYear () {
  return request({
    url: '/visitor/declareWebsite/getEnterServiceByDLDJData',
    method: 'get',
  })
}

export function getComForFiled () {
  return request({
    url: '/visitor/declareWebsite/getEnterServiceByLYFBData',
    method: 'get',
  })
}

export function getComForCity () {
  return request({
    url: '/visitor/declareWebsite/getEnterServiceByCSFBData',
    method: 'get',
  })
}

// 获取详情

export function getDetailById (id) {
  return request({
    url: '/visitor/declareWebsite/getEnterServiceBydetails',
    method: 'get',
    params: {
      id
    }
  })
}


// 排行榜数据
export function selectEnterpriseBelieveData (id) {
  return request({
    url: '/visitor/declareWebsite/selectEnterpriseBelieveData',
    method: 'get',
    params: {
      id
    }
  })
}

// 瞪羚企业
export function getGazelle () {
  return request({
    url: '/visitor/declareWebsite/getEnterServiceByDLQYPH',
    method: 'get'
  })
}

export function getUnicorn(params) {
  return request({
    url: '/visitor/declareWebsite/getEnterServiceByDJSQYPH',
    method: 'get',
    params
  })
}


// 科技中小 企业 接口
export function getKeXiao(params) {
  return request({
    url: '/visitor/declareWebsite/selectZkMinorEnterprisesList',
    method: 'get',
    params
  })
}

 //  高校列表
export function getGaoXiao(params) {
  return request({
    url: '/visitor/declareWebsite/academyLibraryList',
    method: 'get',
    params
  })
}


// 高校院所总数接口
export function getGaoXiaoNum() {
  return request({
    url: '/visitor/declareWebsite/getAcademyLibraryTotal ',
    method: 'get',
  })
}




// 科研院所接口
export function getScientIns(params) {
  return request({
    url: '/visitor/declareWebsite/selectZkResearchInstituteList',
    method: 'get',
    params
  })
}

// 创投机构 接口
export function getVentureCap(params) {
  return request({
    url: '/visitor/declareWebsite/selectZkVentureCapitalList',
    method: 'get',
    params
  })
}

// 创新平台接口
export function getInnovationPlatform(params) {
  return request({
    url: '/visitor/declareWebsite/selectZkInnovationPlatformList',
    method: 'get',
    params
  })
}




// 创业载体接口
export function getBusiness(params) {
  return request({
    url: '/visitor/declareWebsite/selectZkBusinessCarrierList',
    method: 'get',
    params
  })
}







